<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="../../common/TreeListUIHead.jsp"></jsp:include>
<title>SQL工具</title>
<script type="text/javascript">
	function execute(){
		$.post(getPath()+"/sql/execute",{sql:$('#sql').val()},function(res){
			art.dialog.tips('运行完成');
		},'json');
	}
</script>
</head>
<body style="padding:1px 3px 1px 3px;overflow:hidden">
	<div id="main">
		<div position="center">
			<div id="toolBar">
				<button onclick="execute();" style="width:80px;height:24px">执行</button>
			</div>
			<div>
				<textarea id="sql" style="width:100%;height:400px"></textarea>
			</div>
	    </div>
    </div>
</body>
</html>
